.sp-page {
  &.has-navbar {
    padding-top: $navigate-height;
  }

  &.has-footer {
    padding-bottom: $page-footer-height;
    &.ipx {
      padding-bottom: $page-ipx-footer-height;
    }
  }
  &.has-custom-navigation {
    .countDown {
      &.right_top {
        top: 12%;
      }
    }
  }

  &.ipx {
    padding-bottom: 20px;
    .sp-page-footer {
      height: $page-ipx-footer-height;
    }
    .sp-float-layout-ft {
      padding-bottom: 40px;
    }
    .at-tab-bar {
      height: $page-ipx-footer-height;
      /*  #ifdef  alipay  */
      padding: 10px 0 20px 0;
      height: auto;
      /*  #endif  */
    }
  }

  .float-container {
    position: fixed;
    bottom: 150px;
    right: 30px;
    z-index: $z-index-level-3;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;

    .icon-zhiding {
      font-size: 34px;
      color: #fff;
    }
  }

  &-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: $toolbar-height + 20;
    z-index: $z-index-level-3;
    background: #fff;
  }

  .custom-navigation {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    .left-container,
    .right-container {
      width: 100px;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .icon-wrap {
      width: 56px;
      height: 56px;
      background: #c5c5c5;
      border-radius: 32px;
      display: flex;
      justify-content: center;
      align-items: center;
      .icon-home1 {
        font-size: 32px;
        color: #fff;
      }
      .icon-fanhui {
        font-size: 32px;
        color: #fff;
      }
    }
    .title-container {
      flex: 1;
      height: 100%;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #333;
      padding: 0 16px;
    }
    .icon-home1 {
      font-size: 40px;
      color: #fff;
    }
    .icon-shangyiyehoutuifanhui-xianxingyuankuang {
      font-size: 50px;
      color: #fff;
    }
    &.mantle {
      background: rgba(255, 255, 255, 0.5);
      transition: all 0.15s ease-in;
    }
    &.dark {
      background: #000;
      .icon-wrap {
        background: #a0a0a0;
      }
      .title-container {
        color: #fff;
      }
    }
    &.light {
      background: #fff;
      .icon-wrap {
        background: #a0a0a0;
      }
      .title-container {
        color: #333;
      }
    }
  }
}
